package com.sc.nft.controller.request;

import com.sc.nft.enums.PayMethodEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class WalletPayRequest {

    @ApiModelProperty("支付方式")
    @NotNull(message = "请选择支付方式")
    private PayMethodEnum paymentMethod;

    @ApiModelProperty("订单Id")
    @NotNull(message = "订单Id不能为空")
    private Long orderId;

    @NotBlank(message = "请输入支付密码")
    @ApiModelProperty("支付密码")
    private String dealPwd;

}
